home *** CD-ROM | disk | FTP | other *** search
- SAY.COM
-
- PC-MAGAZINE PAUL SOMERSON VOL 5 NUMBER 20
-
- SYNTAX: SAY "string" or decimal ASCII
-
-
- OPERATION: SAY.COM will print any test characters from the
- command line that you enclose inside double quotation
- marks ("). If you want to echo the quote mark itself, use a
- pair of quotes. If the quotation mark is the first character
- to be echoed, triple the quotation marks.
-
- SAY will handle non-printable characters if you type them in
- their decimal ASCII code value on the command line without
- embedding them between quotes (a carriage return/line feed
- would be 13 10). If you want to print the redirection or
- piping characters(<, >, and |) you'll have to use their ASCII
- values (60, 62, and 124), since DOS will try to redirect or
- pipe your command when it sees the actual symbols on a
- command line.
-
- EXAMPLE: SAY """Compaq? "" he asks." 13 10
- "She answers ""Kaypro."""
- will yield
- "Compaq?" he asks.
- She answers "Kaypro."
-
- EXAMPLE: SAY 27 "&16D" > PRN
-
- sends and ESCape sequence code to your printer and lets you
- see the actual characters that you're sending.
-
- EXAMPLE: If you are using ANSI.SYS,
-
- SAY 27 "[0;68;""CLS"";13;""DIR /P"";13P"
-
- redefines F10 to do a clear screen and a DIR/P
-
- EXAMPLE: SAY 13 "DISK1" 13 "N" 13 | FORMAT B: /s /v
-
- lets you format a floppy disk without any user intervention.
-